home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 January / PCWorld_2002-01_cd.bin / Novinky / Internet Explorer 6.0 / scripten.cab / scripten.inf < prev    next >
Windows Setup INFormation  |  2001-06-27  |  9KB  |  237 lines

  1. [Version]
  2. signature = "$Windows NT$"
  3. AdvancedINF=2.5,%VersionWarning%
  4. Class = %ExceptionClassDesc%
  5. ClassGUID = {F5776D81-AE53-4935-8E84-B0B283D8BCEF}
  6. Provider = %Msft%
  7. CatalogFile = scripten.cat
  8. ComponentId = {4f645220-306d-11d2-995d-00c04f98bbc9}
  9. DriverVer = 06-26-2001, 5.6.0.6626
  10.  
  11. [DefaultInstall]
  12. CopyFiles = Copy.ScriptFiles, Copy.WSH, Copy.Help, Copy.INF, DllCacheFiles
  13. CustomDestination = CustomDests
  14. RegisterOCXs = Register.Engines
  15. AddReg = RegisterActiveSetup, AddReg.WSH, AddReg.Extensions.NT
  16. RunPostSetupCommands = RegisterWScript.NT
  17.  
  18. [SourceDisksNames]
  19. 1 = %Media%
  20.  
  21. [SourceDisksFiles]
  22. jscript.dll     = 1
  23. vbscript.dll     = 1
  24. scrrun.dll        = 1
  25. dispex.dll        = 1
  26. scrobj.dll        = 1
  27. wshom.ocx    = 1
  28. wshext.dll    = 1
  29. cscript.exe    = 1
  30. wscript.exe    = 1
  31. wshcon.dll    = 1
  32. wscript.hlp    = 1
  33. scripten.inf    = 1
  34.  
  35. [DestinationDirs]
  36. DefaultDestDir     = 11        ;windir\system32
  37. Copy.ScriptFiles     = 11        ;windir\system32
  38. Copy.WSH    = 11        ;windir\system32
  39. Copy.Help     = 18        ;windir\help
  40. Copy.Inf         = 17        ;windir\inf
  41. DllCacheFiles     = 49000        ;windir\system32\dllcache
  42.  
  43. [CustomDests]
  44. 49000 = DllCacheLDID, 85
  45.  
  46. [DllCacheLDID]
  47. HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Winlogon","SfcDllCacheDir",,"%25%\system32\dllcache"
  48.  
  49. [Copy.ScriptFiles]
  50. jscript.dll
  51. vbscript.dll
  52. scrrun.dll
  53. dispex.dll
  54. scrobj.dll
  55.  
  56. [Copy.WSH]
  57. wshom.ocx
  58. wshext.dll
  59. cscript.exe
  60. wscript.exe
  61. wshcon.dll
  62.  
  63. [Copy.Help]
  64. wscript.hlp
  65.  
  66. [Copy.Inf]
  67. scripten.inf
  68.  
  69. [DllCacheFiles]
  70. jscript.dll
  71. vbscript.dll
  72. scrrun.dll
  73. dispex.dll
  74. scrobj.dll
  75. wshext.dll
  76. cscript.exe
  77. wscript.exe
  78. wshom.ocx
  79.  
  80. [Register.Engines]
  81. %11%\jscript.dll
  82. %11%\vbscript.dll
  83. %11%\scrrun.dll
  84. %11%\scrobj.dll
  85. %11%\wshext.dll
  86. %11%\wshcon.dll
  87. %11%\wshom.ocx
  88.  
  89. [RegisterWScript.NT]
  90. %11%\wscript -regserver
  91.  
  92. [RegisterActiveSetup]
  93. HKLM,%ActiveSetupRegKey%,,0,%Product%
  94. HKLM,%ActiveSetupRegKey%,"IsInstalled",0x00010001,0x01
  95. HKLM,%ActiveSetupRegKey%,"Version",0,"5,6,0,6626"
  96. HKLM,%ActiveSetupRegKey%,"Locale",0,%Lang%
  97. HKLM,%ActiveSetupRegKey%,"ComponentID",0,"MSVBScript"
  98.  
  99. ;;;
  100. ;;; Add WSH registry entries
  101. ;;;
  102. [AddReg.WSH]
  103. HKLM, "%REG_WSH%\Settings","DisplayLogo",,"1"
  104. HKLM, "%REG_WSH%\Settings","ActiveDebugging",,"1"
  105. HKLM, "%REG_WSH%\Settings","SilentTerminate",,"0"
  106. HKLM, "%REG_WSH%\Settings","TrustPolicy",,"0"
  107. HKLM, "%REG_WSH%\Settings","LogSecurityFailures",,"1"
  108. HKLM, "%REG_WSH%\Settings","LogSecuritySuccesses",,"0"
  109. HKLM, "%REG_WSH%\Settings","Remote",,"0"
  110. HKLM, "%REG_WSH%\Settings","Enabled",,"1"
  111. HKLM, "%REG_WSH%\Settings","IgnoreUserSettings",,"0"
  112.  
  113. ; Shell Extension
  114. HKLM, "%REG_APPROVE%","%CLSID_WSHEXT%",,"%DESC_WSHEXT%"
  115.  
  116. [AddReg.Extensions.NT]
  117. ; .WSH
  118. HKCR, ".WSH","",,"WSHFile"
  119. HKCR, "WSHFile","",,"%DESC_DOTWSH%"
  120. HKCR, "WSHFile","IsShortcut",,"Yes"
  121. HKCR, "WSHFile\DefaultIcon","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe,1"
  122. HKCR, "WSHFile\Shell\Open","",,"%MENU_OPEN%"
  123. HKCR, "WSHFile\Shell\Open\Command",,FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe ""%1"" %*"
  124. HKCR, "WSHFile\Shell\Open2","",,"%MENU_CONOPEN%"
  125. HKCR, "WSHFile\Shell\Open2\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\CScript.exe ""%1"" %*"
  126. HKCR, "WSHFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  127. HKCR, "WSHFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  128.  
  129. ; .VBS
  130. HKCR, ".VBS","",,"VBSFile"
  131. HKCR, "VBSFile","",,"%DESC_DOTVBS%"
  132. HKCR, "VBSFile\DefaultIcon","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe,2"
  133. HKCR, "VBSFile\ScriptEngine","",,"VBScript"
  134. HKCR, "VBSFile\Shell\Open","",,"%MENU_OPEN%"
  135. HKCR, "VBSFile\Shell\Open\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe ""%1"" %*"
  136. HKCR, "VBSFile\Shell\Open2","",,"%MENU_CONOPEN%"
  137. HKCR, "VBSFile\Shell\Open2\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\CScript.exe ""%1"" %*"
  138. HKCR, "VBSFile\Shell\Edit","",,"%MENU_EDIT%"
  139. HKCR, "VBSFile\Shell\Edit\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe %1"
  140. HKCR, "VBSFile\Shell\Print","",,"%MENU_PRINT%"
  141. HKCR, "VBSFile\Shell\Print\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe /p %1"
  142. HKCR, "VBSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  143. HKCR, "VBSFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  144.  
  145. ; .VBE
  146. HKCR, ".VBE","",,"VBEFile"
  147. HKCR, "VBEFile","",,"%DESC_DOTVBS%"
  148. HKCR, "VBEFile\DefaultIcon","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe,2"
  149. HKCR, "VBEFile\ScriptEngine","",,"VBScript.Encode"
  150. HKCR, "VBEFile\Shell\Open","",,"%MENU_OPEN%"
  151. HKCR, "VBEFile\Shell\Open\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe ""%1"" %*"
  152. HKCR, "VBEFile\Shell\Open2","",,"%MENU_CONOPEN%"
  153. HKCR, "VBEFile\Shell\Open2\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\CScript.exe ""%1"" %*"
  154. HKCR, "VBEFile\Shell\Edit","",,"%MENU_EDIT%"
  155. HKCR, "VBEFile\Shell\Edit\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe %1"
  156. HKCR, "VBEFile\Shell\Print","",,"%MENU_PRINT%"
  157. HKCR, "VBEFile\Shell\Print\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe /p %1"
  158. HKCR, "VBEFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  159. HKCR, "VBEFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  160.  
  161. ; .JS
  162. HKCR, ".JS","",,"JSFile"
  163. HKCR, "JSFile","",,"%DESC_DOTJS%"
  164. HKCR, "JSFile\DefaultIcon","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe,3"
  165. HKCR, "JSFile\ScriptEngine","",,"JScript"
  166. HKCR, "JSFile\Shell\Open","",,"%MENU_OPEN%"
  167. HKCR, "JSFile\Shell\Open\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe ""%1"" %*"
  168. HKCR, "JSFile\Shell\Open2","",,"%MENU_CONOPEN%"
  169. HKCR, "JSFile\Shell\Open2\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\CScript.exe ""%1"" %*"
  170. HKCR, "JSFile\Shell\Edit","",,"%MENU_EDIT%"
  171. HKCR, "JSFile\Shell\Edit\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe %1"
  172. HKCR, "JSFile\Shell\Print","",,"%MENU_PRINT%"
  173. HKCR, "JSFile\Shell\Print\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe /p %1"
  174. HKCR, "JSFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  175. HKCR, "JSFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  176.  
  177. ; .JSE
  178. HKCR, ".JSE","",,"JSEFile"
  179. HKCR, "JSEFile","",,"%DESC_DOTJS%"
  180. HKCR, "JSEFile\DefaultIcon","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe,3"
  181. HKCR, "JSEFile\ScriptEngine","",,"JScript.Encode"
  182. HKCR, "JSEFile\Shell\Open","",,"%MENU_OPEN%"
  183. HKCR, "JSEFile\Shell\Open\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe ""%1"" %*"
  184. HKCR, "JSEFile\Shell\Open2","",,"%MENU_CONOPEN%"
  185. HKCR, "JSEFile\Shell\Open2\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\CScript.exe ""%1"" %*"
  186. HKCR, "JSEFile\Shell\Edit","",,"%MENU_EDIT%"
  187. HKCR, "JSEFile\Shell\Edit\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe %1"
  188. HKCR, "JSEFile\Shell\Print","",,"%MENU_PRINT%"
  189. HKCR, "JSEFile\Shell\Print\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe /p %1"
  190. HKCR, "JSEFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  191. HKCR, "JSEFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  192.  
  193. ; .WSF
  194. HKCR, ".WSF","",,"WSFFile"
  195. HKCR, "WSFFile","",,"%DESC_DOTWS%"
  196. HKCR, "WSFFile\DefaultIcon","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe,2"
  197. HKCR, "WSFFile\Shell\Open","",,"%MENU_OPEN%"
  198. HKCR, "WSFFile\Shell\Open\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\WScript.exe ""%1"" %*"
  199. HKCR, "WSFFile\Shell\Open2","",,"%MENU_CONOPEN%"
  200. HKCR, "WSFFile\Shell\Open2\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\CScript.exe ""%1"" %*"
  201. HKCR, "WSFFile\Shell\Edit","",,"%MENU_EDIT%"
  202. HKCR, "WSFFile\Shell\Edit\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe %1"
  203. HKCR, "WSFFile\Shell\Print","",,"%MENU_PRINT%"
  204. HKCR, "WSFFile\Shell\Print\Command","",FLG_ADDREG_TYPE_EXPAND_SZ,"%11%\Notepad.exe /p %1"
  205. HKCR, "WSFFile\ShellEx\PropertySheetHandlers\WSHProps","",,"%CLSID_WSHEXT%"
  206. HKCR, "WSFFile\ShellEx\DropHandler","",,"%CLSID_WSHEXT%"
  207.  
  208. [Strings]
  209. Msft = "Microsoft"
  210. Media = "Microsoft Windows Script 5.6 Distribution Media"
  211. Product = "Microsoft Windows Script 5.6"
  212. ExceptionClassDesc = "Microsoft Windows Script 5.6 for Windows 2000"
  213. VersionWarning = "This setup requires a newer version of the Setup API"
  214. ActiveSetupRegKey = "SOFTWARE\Microsoft\Active Setup\Installed Components\{4f645220-306d-11d2-995d-00c04f98bbc9}"
  215.  
  216. DESC_WSHEXT         = "Shell extensions for Windows Script Host"
  217.  
  218. DISP_WSH            = "Microsoft Windows Script Host"
  219.  
  220. DESC_DOTWSH         = "Windows Script Host Settings File"
  221. DESC_DOTVBS         = "VBScript Script File"
  222. DESC_DOTJS          = "JScript Script File"
  223. DESC_DOTWS          = "Windows Script File"
  224.  
  225. MENU_OPEN           = "&Open"
  226. MENU_CONOPEN        = "Open &with Command Prompt"
  227. MENU_DOSOPEN        = "Open &with MS-DOS Prompt"
  228. MENU_EDIT           = "&Edit"
  229. MENU_PRINT          = "&Print"
  230.  
  231. ; Unlocalizable strings
  232. REG_WSH             = "Software\Microsoft\Windows Script Host"
  233. REG_APPROVE         = "Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved"
  234. REG_UNINSTALL       = "Software\Microsoft\Windows\CurrentVersion\Uninstall\WindowsScriptHost"
  235. CLSID_WSHEXT        = "{60254CA5-953B-11CF-8C96-00AA00B8708C}"
  236.  
  237. Lang = "EN"